package com.tensquare.base.dao;

import com.tensquare.base.pojo.Label;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @BelongsProject: tensquare_parent
 * @BelongsPackage: com.tensquare.base.dao
 * @Author: yang
 * @CreateTime: 2019-03-04 15:55
 * @Description: ${Description}
 */
public interface LabelDao extends JpaRepository<Label,String>, JpaSpecificationExecutor<Label> {

    public List<Label> findByState(String state);

}
